<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
	<link th:replace="fragment/common_edit_header" />
	<title>用户编辑</title>
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content ">
		<div class="row">
			<form role="form" id="form" method="post">
				<input type="hidden" id="formId" th:value="${obj?.loginName}" />
				<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
					<div class="form-group">
						<label for="loginName">账号<em>*</em></label>
						<input class="form-control input-sm" type="text" name="loginName" id="loginName" 
							th:value="${obj?.loginName}" th:readonly="${obj == null ? false : true}" />
					</div>
				</div>
				<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
					<div class="form-group">
						<label for="password">密码<em>*</em></label>
						<input class="form-control input-sm" type="password" name="password" id="password" />
					</div>
				</div>
			</form>
		</div>
	</div>
	
	<!-- 底部按钮 -->
	<div class="form-group col-xs-12" style="height:40px;"></div>
	<div class="div-footer">
		  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align="center">
		     <button type="submit" class="btn btn-primary btn-sm" id="b-btn-save">
		        <i class="fa fa-save"></i>
		        &nbsp;&nbsp;&nbsp;保存&nbsp;&nbsp;&nbsp;
		     </button>
		        &nbsp;&nbsp;&nbsp;
		     <button type="button" class="btn btn-default btn-sm" id="cancel-but">
		        <i class="fa fa-close"></i>
		         &nbsp;&nbsp;&nbsp;取消&nbsp;&nbsp;&nbsp;
		     </button>
		 </div>
	</div>

<script th:replace="fragment/common_edit_js"></script>
<script type="text/javascript" th:src="@{/js/module/sys/user/user-edit.js(v=${stv})}"></script>
</body>
</html>
